package de.mekos.shop.model;

import java.util.List;

import de.mekos.shop.Group;
import de.mekos.shop.model.environment.WorkingEnvironment;

/**
 * Diese Klasse stellt einen Mitarbeiter dar.
 * 
 * @author popa
 */
public class Employee {
	
	private List<String> objClasses;
	
	private String firstname;
	
	private String lastname;
	
	private String username;
	
	private String password;
	
	private boolean changePasswordByStart;
	
	private boolean changePasswort;
	
	private boolean passwordExpiration;
	
	private boolean deactivated;
	
	private List<Group> grouplist;

	private String partition;
	
	private String company;
	
	private String section;
	
	private WorkingEnvironment workingEnvironment;
	
	public List<String> getObjClasses() {
		return objClasses;
	}
	public void setObjClasses(List<String> objClasses){
		this.objClasses = objClasses;
	}
	
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname){
		this.firstname = firstname;
	}
	
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname){
		this.lastname = lastname;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isChangePasswordByStart() {
		return changePasswordByStart;
	}
	public void setChangePasswordByStart(boolean changePasswordByStart) {
		this.changePasswordByStart = changePasswordByStart;
	}
	public boolean getChangePasswort() {
		return changePasswort;
	}
	public void setChangePasswort(boolean changePasswort) {
		this.changePasswort = changePasswort;
	}
	public boolean getPasswordExpiration() {
		return passwordExpiration;
	}
	public void setPasswordExpiration(boolean passwordExpiration) {
		this.passwordExpiration = passwordExpiration;
	}
	public boolean getDeactivated() {
		return deactivated;
	}
	public void setDeactivated(boolean deactivated) {
		this.deactivated = deactivated;
	}
	public List<Group> getGrouplist() {
		return grouplist;
	}
	public void setGrouplist(List<Group> groups) {
		this.grouplist = groups;
	}
	public String getPartition() {
		return partition;
	}
	public void setPartition(String partition){
		this.partition = partition;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getSection() {
		return section;
	}
	public void setSection(String section) {
		this.section = section;
	}
	public void setWorkingEnvironment(WorkingEnvironment byUser) {
		this.workingEnvironment = byUser;
	}
	public WorkingEnvironment getWorkingEnvironment(){
		return workingEnvironment;
	}
	
	
	
}
